package com.cupk.pojo;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data

public class Book {
    private Integer id;
    private String name;
    private String ISBN;
    private Double price;
    private String author;
    private String publishingcompany;
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date publishingtime;
    private String introduction;

}
